<section class="page">
    <header class="page-header">
        <img src="<?php echo templateUrl() ?>images/1.png" alt="">
    </header>
    <div class="page-body">
        <div class="container">
            <div class="content">
                <header class="content-header">
                    <h2>
                        <?php echo!empty($article['name']) ? $article['name'] : '' ?>
                    </h2>
                </header>
                <div class="content-body">
                    <div class="article-detail">
                        <?php echo!empty($article['full_description']) ? $article['full_description'] : '' ?>
                    </div>
                </div>
            </div>
            <div class="content">
                <header class="content-header">
                    <h2>Bài viết liên quan</h2>
                </header>
                <?php
                if (!empty($articles)) {
                    ?>
                    <div class="content-body">
                        <ul class="list-unstyled">
                            <?php
                            for ($i = 0; $i < count($articles); $i++) {
                                ?>
                                <li><a href="<?php echo base_url($breadcrumb[count($breadcrumb) - 2]['url'] . '/' . $articles[$i]['friendly_url']) ?>"><?php echo $articles[$i]['name'] ?></a></li>
                                <?php
                            }
                            ?>                            
                        </ul>
                    </div>
                    <?php
                }
                ?>
            </div>
        </div>
    </div>
</section>